using System;
using System.Data.Entity.ModelConfiguration;
using System.Data.Common;
using System.Data.Entity;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using LAMSDK.Security.Entities;

namespace LAMSDK.Security.Mapping
{
	public class UserSettingMap : EntityTypeConfiguration<UserSetting>
	{
		public UserSettingMap()
		{
			// Primary Key
			this.HasKey(t => t.USId);

			// Properties
			// Table & Column Mappings
			this.ToTable("UserSetting");
			this.Property(t => t.USId).HasColumnName("USId");
		}
	}
}

